package com.example.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.core.annotation.Order;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult  {

    private long total; //总记录数

    private List records; //当前页数据集合


    private int size;
    private  int current;
    private boolean optimizeCountSql;
    private boolean hitCount;
    private Long countId;
    private Integer maxLimit;
    private boolean searchCount;
    private int page;
    private List<Order> orders;

}
